//
//  HXTopicsSmallModel.m
//  ZCooking
//
//  Created by 韩旭 on 16/9/3.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXTopicsSmallModel.h"

@implementation HXTopicsSmallModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"description"]) {
        self.Description = value;
    }
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}
+ (NSArray *)getTopicsSmallWithArray:(NSArray *)array {
    NSMutableArray *arrAll = [NSMutableArray array];
    for (NSDictionary *dic in array) {
         HXTopicsSmallModel *model = [HXTopicsSmallModel ModelWithDic:dic];
        [arrAll addObject:model];
    }
    return arrAll;
}
@end
